package com.wuliang.generate.response.datasource.controller;

import com.wuliang.generate.bean.entities.datasource.DatasourceSchema;
import com.wuliang.generate.bean.vo.datasource.DatasourceSchemaVo;
import com.wuliang.generate.client.datasource.DatasourceSchemaClient;
import com.wuliang.generate.common.core.basic.BaseController;
import com.wuliang.generate.repositories.datasource.DatasourceSchemaRepository;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 邬魉
 */
@Lazy
@RestController
@Api("数据库业务相关")
@RequestMapping("/datasourceSchema")
public class DatasourceSchemaController
        extends BaseController<DatasourceSchema, DatasourceSchemaVo>
        implements DatasourceSchemaClient {

    @Autowired
    private DatasourceSchemaRepository schemaRepository;

}
